# -*- coding: utf-8 -*-

from django.urls import path, re_path
from dbmanager import views

urlpatterns = [
    path(r'db_list/', views.db_list, name='db_list'),
    path(r'db_exec/', views.db_exec, name='db_exec'),
    path(r'db_log/', views.db_log, name='db_log'),
    path(r'find_dbconfig/', views.find_dbconfig, name='find_dbconfig'),
    re_path(r'search_db_password/(?P<pk>[0-9]+)/', views.search_db_password, name='search_db_password'),
    re_path(r'db_log_detail/', views.db_log_detail, name='db_log_detail'),
    path(r'batch_change_db_belong_user/', views.batch_change_db_belong_user, name='batch_change_db_belong_user'),
    path(r'batch_change_db_group/', views.batch_change_db_group, name='batch_change_db_group'),
]
